home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / textutl3.lha / textutils-1.3 / lib / lmkfile < prev    next >
Text File  |  1992-10-01  |  2KB  |  63 lines

  1. # Makefile for library files used by GNU textutils.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3. # Copyright (C) 1991 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. PCFLAGS=-dSTDC_HEADERS -dSTRERROR_MISSING -i/lib/ -z16000
  20. CFLAGS= $(PCFLAGS) -O
  21. CPPFLAGS=-DSTDC_HEADERS -DSTRERROR_MISSING -I/lib/
  22.  
  23. SHELL = /bin/sh
  24.  
  25. SOURCES = error.c getopt.c getopt1.c linebuffer.c regex.c xmalloc.c xwrite.c \
  26. bcopy.c memchr.c memcmp.c stpcpy.c
  27.  
  28. OBJECTS =  error.o getopt.o getopt1.o linebuffer.o regex.o xmalloc.o xwrite.o
  29.  
  30. DISTFILES = Makefile.in getopt.h linebuffer.h regex.h $(SOURCES)
  31.  
  32. all: tu.lib
  33.  
  34. TAGS: $(SOURCES)
  35.     etags $(SOURCES)
  36.  
  37. clean:
  38.     delete force *.o tu.lib
  39.  
  40. tu.lib: $(OBJECTS)
  41.     -delete tu.lib
  42.     oml tu.lib r <@<
  43. $(OBJECTS)
  44. <
  45.  
  46. getopt1.o: getopt1.c getopt.h
  47. regex.o: regex.c regex.h
  48.     gnuemacs:cpp/cpp >ram:cpp.c $(CPPFLAGS) $*.c
  49.     lc $(PCFLAGS) -o$@ ram:cpp.c
  50.  
  51. alloca.o: alloca.c
  52. amiga.o: amiga.c
  53. bcopy.o: bcopy.c
  54. error.o: error.c
  55. getopt.o: getopt.c getopt.h
  56. getopt1.o: getopt1.c getopt.h
  57. linebuffer.o: linebuffer.c linebuffer.h
  58. memchr.o: memchr.c
  59. memcmp.o: memcmp.c
  60. stpcpy.o: stpcpy.c
  61. xmalloc.o: xmalloc.c
  62. xwrite.o: xwrite.c
  63.